package com.ruoyi.system.domain;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 active_box_config
 *
 * @author ruoyi
 * @date 2022-10-18
 */
public class ActiveBoxConfig extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 盒子名
     */
    @Excel(name = "盒子名")
    private String name;

    /**
     * 盒子封面图
     */
    @Excel(name = "盒子封面图")
    private String coverImg;

    /**
     * 盒子内部图
     */
    @Excel(name = "盒子内部图")
    private String internalImg;

    /**
     * 门票价格
     */
    @Excel(name = "门票价格")
    private BigDecimal price;

    /**
     * 抽成比例
     */
    @Excel(name = "抽成比例")
    private BigDecimal profitsProportion;

    /**
     * 0-充值可见 1-登录可见 2-公开可见
     */
    @Excel(name = "0-充值可见 1-登录可见 2-公开可见")
    private Integer viewType;

    /**
     * 0-下架 1-上架
     */
    @Excel(name = "0-下架 1-上架")
    private Integer status;

    /**
     * 排序 越大越靠前
     */
    @Excel(name = "排序 越大越靠前")
    private Long weight;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setCoverImg(String coverImg) {
        this.coverImg = coverImg;
    }

    public String getCoverImg() {
        return coverImg;
    }

    public void setInternalImg(String internalImg) {
        this.internalImg = internalImg;
    }

    public String getInternalImg() {
        return internalImg;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setProfitsProportion(BigDecimal profitsProportion) {
        this.profitsProportion = profitsProportion;
    }

    public BigDecimal getProfitsProportion() {
        return profitsProportion;
    }

    public void setViewType(Integer viewType) {
        this.viewType = viewType;
    }

    public Integer getViewType() {
        return viewType;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    public void setWeight(Long weight) {
        this.weight = weight;
    }

    public Long getWeight() {
        return weight;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("coverImg", getCoverImg())
                .append("internalImg", getInternalImg())
                .append("price", getPrice())
                .append("profitsProportion", getProfitsProportion())
                .append("viewType", getViewType())
                .append("status", getStatus())
                .append("weight", getWeight())
                .append("createTime", getCreateTime())
                .toString();
    }
}
